package com.example.designpattern.responsibility_three;

import com.example.model.GoodsDTO;

/**
 * @author long
 * @date 2024/4/20 10:43
 */
public interface IValidator{

    void validate(GoodsDTO dto, IValidatorChain chain);

    int getPriority();

}
